package com.daffodil.workable.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.daffodil.core.entity.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * -调度任务锁(悲观锁)
 * @author yweijian
 * @date 2022年4月27日
 * @version 1.0
 * @description
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Entity
@Table(name = "wok_lock")
public class WorkableLock extends BaseEntity<String> {
    
    private static final long serialVersionUID = -2603028154486424432L;

    /** 主键编号 */
    @Id
    @Column(name = "id")
    private String id;
}
